import{r as n,S as p,o as c,W as o}from"./index-Cru3zDJN.js";function d(){const s=n([]),e=n(!0),l=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],r=n({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),a=p({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
        <path class="path" d="
          M 30 15
          L 28 17
          M 25.61 25.61
          A 15 15, 0, 0, 1, 15 30
          A 15 15, 0, 1, 1, 27.99 7.5
          L 15 15
        " style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
      `}),i={offsetBottom:110};function u(t){console.log("onSizeChange",t)}function g(t){a.text=`正在加载第${t}页...`,e.value=!0,o(600).then(()=>{e.value=!1})}return c(()=>{o(600).then(()=>{e.value=!1})}),{loading:e,columns:l,dataList:s,pagination:r,loadingConfig:a,adaptiveConfig:i,onSizeChange:u,onCurrentChange:g}}export{d as useColumns};
